<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/education/teacher/baseinfo" aria-expanded="true">档案管理</a></li>
                        <li class=""><a href="/app/core/education/teacher/baseinfo?view=input" aria-expanded="false">档案录入</a></li>
                        <li class=""><a href="/app/core/education/teacher/baseinfo?view=import" aria-expanded="false">档案导入</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12" id="listdiv">
                                <div class="btn-group" id="toobar">
                                    <span style="margin-left: 10px;">任教日期:</span>
                                    <span>
											<input readonly="readonly" placeholder="开始日期" style="width: 150px; display: inline-block;" id="beginTimeQuery" class="form-control">
										</span> <span style="margin-left: 10px;margin-right: 10px;">-</span>
                                    <span>
											<input readonly="readonly" placeholder="结束日期" style="width: 150px; display: inline-block;" id="endTimeQuery" class="form-control">
										</span>
                                    <span style="margin-left: 10px;">关联账号:</span>
                                    <span>
                                        <input placeholder="关联账号" type="text" name="accountIdQuery" id="accountIdQuery" class="form-control" readonly="readonly" style="width: 150px; display: inline-block;" opt-id="accountIdQuery" onclick="selectUser(this,'false');">
									</span>
                                    <span style="margin-left: 10px;">专业:</span>
                                    <span>
                                        <select placeholder="专业" style="width: 150px; display: inline-block;" id="majorQuery" class="form-control">
                                        </select>
										</span>
                                    <span style="margin-left: 10px;">状态:</span>
                                    <span>
											<select id="statusQuery" class="form-control" style="width: 150px; display: inline-block;">
                                                <option value="">全部</option>
                                                <option value="0">正常</option>
                                                <option value="1">退休</option>
                                                <option value="2">退体返聘</option>
                                                <option value="3">全部</option>
                                            </select>
										</span>
                                    <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta js-simple-query">${i18n('system.search')}</a>
										</span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                            <div class="col-md-12 col-sm-12 col-xs-12" id="infodiv" style="display: none;">
                                <div class="row">
                                    <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                        <form class="form-horizontal">
                                            <table class="table table-hover table-striped table-bordered">
                                                <tr>
                                                    <td width="20%">${i18n('system.sortNo')}：</td>
                                                    <td><input type="text" placeholder="${i18n('system.sortNo')}" name="sortNo" id="sortNo" class="form-control" maxlength="5"></td>
                                                    <td rowspan="7" colspan="2" width="50%" style="text-align: center;">
                                                        <div>
                                                            <div>
                                                                <img id="file_img" style="width: 150px; height: 200px;" src="" onerror="this.onerror=null;this.src='/assets/img/avatars/adam-jansen.jpg'" class="avatar">
                                                            </div>
                                                            <div>
                                                                <a style="margin: 20px; cursor: pointer;" onclick='delPhotos();'>${i18n('system.delete')}</a> <a style="margin: 20px; position: relative; text-decoration: none; cursor: pointer;" onclick='delPhotos();'>更换
                                                                <input type="file" onchange="uploadimg('file','eduphotos');" hidefocus="true" maxlength="1" id="file" name="file" class="addfile" accept="image/png,image/jpg,image/jpeg">
                                                            </a>
                                                            </div>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">教师姓名：</td>
                                                    <td><input type="text" placeholder="教师姓名" name="userName" id="userName" maxlength="10" class="form-control"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">关联账号：</td>
                                                    <td><input type="text" placeholder="关联账号" name="accountId" id="accountId" maxlength="10" class="form-control" readonly="readonly" opt-id="accountId"
                                                               onclick="selectUser(this,'false');"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">性别：</td>
                                                    <td><select name="sex" id="sex" class="form-control">
                                                        <option value="1">男</option>
                                                        <option value="0">女</option>
                                                        <option value="2">其它</option>
                                                    </select></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">身份证号：</td>
                                                    <td><input type="text" placeholder="身份证号" name="cardId" id="cardId" class="form-control" maxlength="18"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">出生年月：</td>
                                                    <td><input placeholder="出生年月" type="text" name="birthday" id="birthday" class="form-control" readonly="readonly"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">民族：</td>
                                                    <td>
                                                        <select type="text" name="nation" id="nation" class="form-control">
                                                        </select>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">联系电话：</td>
                                                    <td><input placeholder="联系电话" type="text" name="mobile" id="mobile" maxlength="15" class="form-control"></td>
                                                    <td width="20%">所学专业：</td>
                                                    <td><input placeholder="所学专业" type="text" name="major" id="major" class="form-control" maxlength="50"></td>
                                                </tr>
                                
                                                <tr>
                                                    <td width="20%">教师类型：</td>
                                                    <td width="30%"><select id="teacherType" name="teacherType" class="form-control">
                                                        <option value="">请选择</option>
                                                        <option value="1">幼儿园教师资格证</option>
                                                        <option value="2">小学教师资格证</option>
                                                        <option value="3">初级中学教师资格证</option>
                                                        <option value="4">高级中学教师资格证</option>
                                                        <option value="5">中等职业学校教师资格证</option>
                                                        <option value="6">中等职业学校实习指导教师资格证</option>
                                                        <option value="7">高等学校教师资格证</option>
                                                        <option value="8">成人/大学教育的教师资格证</option>
                                                    </select>
                                                    </td>
                                                    <td width="20%">任教日期：</td>
                                                    <td width="30%"><input type="text" placeholder="任教日期" id="workTime" name="workTime" class="form-control" readonly="readonly"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">教师学历：</td>
                                                    <td width="30%"><select id="education" name="education" class="form-control"></select></td>
                                                    <td width="20%">毕业学校：</td>
                                                    <td width="30%"><input type="text" placeholder="毕业学校" id="graduateSchool" name="graduateSchool" maxlength="50" value="" class="form-control"></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">备注</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <div id="remark" name="remark"></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4" align="center">
                                                        <a id="createbut" href="javascript:void(0);" class="btn btn-primary js-update-save">更&nbsp;&nbsp;新</a>
                                                        <a href="javascript:void(0);" class="btn btn-purple js-back-btn" style="margin-left: 20px;">返&nbsp;&nbsp;回</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/education/teacher/baseinfomanage.js"></script>
</body>
</html>
